# -*- coding:utf-8 -*-
from rest_framework import serializers

from Apps.Interface.models import InterfaceTest


class InterfaceTestSer(serializers.ModelSerializer):
    type_display = serializers.CharField(source='get_type_display', read_only=True)

    class Meta:
        model = InterfaceTest
        fields = "__all__"
